<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="bp" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>用户管理</title>
    <!-- Bootstrap Styles-->
    <link href="${bp}/static/assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FontAwesome Styles-->
    <link href="${bp}/static/assets/css/font-awesome.css" rel="stylesheet" />
    <!-- Morris Chart Styles-->
    <link href="${bp}/static/assets/js/morris/morris-0.4.3.min.css" rel="stylesheet" />
    <!-- Custom Styles-->
    <link href="${bp}/static/assets/css/custom-styles.css" rel="stylesheet" />
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <link rel="stylesheet" href="${bp}/static/assets/js/Lightweight-Chart/cssCharts.css">
</head>

<body>
<div id="wrapper">
    <nav class="navbar navbar-default top-navbar" role="navigation">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="${bp}/user/index">
                <strong>蓝天洗衣管理系统</strong>
            </a>

            <div id="sideNav" href="">
                <i class="fa fa-caret-right"></i>
            </div>
        </div>

        <ul class="nav navbar-top-links navbar-right">
            <!-- /.dropdown -->
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-bell fa-fw"></i>

                    <c:if test="${orderconet > 0}">
                        <span class="badge" style="color: red">${orderconet}</span>
                    </c:if>
                    <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-alerts">
                    <li>
                        <a href="${bp}/order/orderAll">
                                <c:if test="${orderconet > 0}">
                                    <i class="fa fa-comment fa-fw"></i>${orderconet}个订单等待您处理
                                </c:if>
                        </a>
                    </li>
                </ul>
                <!-- /.dropdown-alerts -->
            </li>
            <!-- /.dropdown -->
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                    <i class="fa fa-user fa-fw"></i>
                    <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">




                    <li>
                        <a href="${bp}/user/userInfo">
                            <i class="fa fa-user fa-fw"></i> 用户信息</a>
                    </li>
                    <li class="divider"></li>

                    <li>
                        <a href="${bp}/user/loginOut">
                            <i class="fa fa-sign-out fa-fw"></i> 退出系统</a>
                    </li>
                </ul>
                <!-- /.dropdown-user -->
            </li>
            <!-- /.dropdown -->
        </ul>
    </nav>
    <!--/. NAV TOP  -->
    <nav class="navbar-default navbar-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="main-menu">
                <li>
                    <a class="active-menu" href="${bp}/user/index">
                        <i class="fa fa-dashboard"></i>首页</a>
                </li>
                <li>
                    <a  href="${bp}/user/user?page=1">
                        <i class="fa fa-dashboard"></i>用户管理</a>
                </li>
                <li>
                    <a href="${bp}/order/orderAll">
                        <i class="fa fa-qrcode"></i>订单管理</a>
                </li>
                <li>
                    <a href="${bp}/equipment/equipment?page=1">
                        <i class="fa fa-desktop"></i>消耗品管理</a>
                </li>
                <li>
                    <a href="${bp}/log/log">
                        <i class="fa fa-bar-chart-o"></i>日志记录</a>
                </li>
                <li>
                    <a href="${bp}/work/work?page=1">
                        <i class="fa fa-table"></i>职员管理</a>
                </li>
            </ul>

        </div>

    </nav>
    <!-- /. NAV SIDE  -->
    <!-- 内容块 -->
    <div id="page-wrapper">
        <!-- header -->
        <div class="header">
            <h1 class="page-header">
                首页
                <small>欢迎您，${sessionScope.user.name}</small>
            </h1>
        </div>
        <div id="page-inner">
            <!-- /. ROW  -->

        <div><img style="width: 90%;" src="${bp}/static/admin/timg.jpg">
        <p>洗衣店毛利率较高。零售餐饮行业毛利率一般在5%-30%之间，而洗衣行业毛利率高的可达80%。
            随着城镇化的发展，该行业有望迎来千亿级的
            市场规模，该行业作为朝阳产业具有极大的潜力，这也是为什么投资者蜂拥而入的原因。</p>
        </div>
        </div>
        <!-- /. PAGE INNER  -->
    </div>
    <!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="${bp}/static/assets/js/jquery-3.2.1.min.js"></script>
<!-- Bootstrap Js -->
<script src="${bp}/static/assets/js/bootstrap.min.js"></script>

<!-- Metis Menu Js -->
<script src="${bp}/static/assets/js/jquery.metisMenu.js"></script>
<!-- Morris Chart Js -->
<script src="${bp}/static/assets/js/morris/raphael-2.1.0.min.js"></script>
<script src="${bp}/static/assets/js/morris/morris.js"></script>


<script src="${bp}/static/assets/js/easypiechart.js"></script>
<script src="${bp}/static/assets/js/easypiechart-data.js"></script>

<script src="${bp}/static/assets/js/Lightweight-Chart/jquery.chart.js"></script>

<!-- Custom Js -->
<script src="${bp}/static/assets/js/custom-scripts.js"></script>

<script>
</script>

</body>

</html>